package com.csu.backmanagesys.Mapper;

import com.csu.backmanagesys.Domain.Inventory;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface InventoryMapper {

    List<Inventory> selectInventory();

    Inventory selectInventory(String id);

    void updateInventory(
        String itemId,
        int qty
    );

    void deleteInventory(String itemId);

    void insertInventory(
        String itemId,
        int qty
    );

}
